package com.neusoft.elmboot.service;

import java.math.BigDecimal;
import java.util.List;

import com.neusoft.elmboot.po.Record;

public interface VirtualWalletService {
	
	 public BigDecimal getBalance(String userId) ;
	 
	 public int RechargeOrWithdraw(String userId,String password,BigDecimal amount);
	   
	 public void debit(Long walletId, BigDecimal amount);
	 
	 public void credit(Long walletId, BigDecimal amount);
	
	 public List<Record> getTransactionRecordByUserId(String userId);
	 
	 public int payByOrderId(String userId,String password,int orderId);
}
